﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Configuration;

namespace UTLBASEFORM
{
    public partial class MDIPARENT : DevComponents.DotNetBar.Office2007RibbonForm
    {       

        #region Private field define
        //the selected(focused) picturePox->Form
        private int intFocusedPicID = -1;
        //the panel size
        private Size sizeAdvCtrlTabPanel = new Size(330, 240);
        //picture box size
        private Size sizeAdvCtrlTabPic = new Size(95, 72);
        //picture box count in one row
        private int intPreviewPicCountInRow = 3;
        //the Preview panel
        private Panel pnlAdvancedCtrlTab = new Panel();
        //the label that contains the caption of the selected form
        private Label lblSelectedChildCaption = new Label();
        #endregion
        #region Protected field define
        protected string _UserName;
        #endregion
        public MDIPARENT()
        {
            InitializeComponent();            
            foreach (Control act in this.Controls)
            {
                if (act is MdiClient)
                {
                    //use the MouseWheel event to show the panel with previews and scroll between the forms
                    act.MouseWheel += new MouseEventHandler(MdiClient_MouseWheel);
                    break;
                }
            }
            //Khoi dong tinh nang scroll
            bool _enable = false;
            try
            {
                _enable = bool.Parse(ConfigurationManager.AppSettings["ScrollMDIChild"].ToString());
            }
            catch
            {
                _enable = false;
            }
            InitializeCtrlTab(_enable);
            #region Event for tab button
            tab1btn1.Click += new EventHandler(tab1btn1_Click);
            tab2btn1.Click += new EventHandler(tab2btn1_Click);
            tab3btn1.Click += new EventHandler(tab3btn1_Click);
            tab4btn1.Click += new EventHandler(tab4btn1_Click);
            tab5btn1.Click += new EventHandler(tab5btn1_Click);
            tab6btn1.Click += new EventHandler(tab6btn1_Click);
            tab7btn1.Click += new EventHandler(tab7btn1_Click);
            tab8btn1.Click += new EventHandler(tab8btn1_Click);
            tab9btn1.Click += new EventHandler(tab9btn1_Click);
            tab10btn1.Click += new EventHandler(tab10btn1_Click);
            tab11btn1.Click += new EventHandler(tab11btn1_Click);
            tab12btn1.Click += new EventHandler(tab12btn1_Click);

            tab1btn2.Click += new EventHandler(tab1btn2_Click);
            tab2btn2.Click += new EventHandler(tab2btn2_Click);
            tab3btn2.Click += new EventHandler(tab3btn2_Click);
            tab4btn2.Click += new EventHandler(tab4btn2_Click);
            tab5btn2.Click += new EventHandler(tab5btn2_Click);
            tab6btn2.Click += new EventHandler(tab6btn2_Click);
            tab7btn2.Click += new EventHandler(tab7btn2_Click);
            tab8btn2.Click += new EventHandler(tab8btn2_Click);
            tab9btn2.Click += new EventHandler(tab9btn2_Click);
            tab10btn2.Click += new EventHandler(tab10btn2_Click);
            tab11btn2.Click += new EventHandler(tab11btn2_Click);
            tab12btn2.Click += new EventHandler(tab12btn2_Click);

            tab1btn3.Click += new EventHandler(tab1btn3_Click);
            tab2btn3.Click += new EventHandler(tab2btn3_Click);
            tab3btn3.Click += new EventHandler(tab3btn3_Click);
            tab4btn3.Click += new EventHandler(tab4btn3_Click);
            tab5btn3.Click += new EventHandler(tab5btn3_Click);
            tab6btn3.Click += new EventHandler(tab6btn3_Click);
            tab7btn3.Click += new EventHandler(tab7btn3_Click);
            tab8btn3.Click += new EventHandler(tab8btn3_Click);
            tab9btn3.Click += new EventHandler(tab9btn3_Click);
            tab10btn3.Click += new EventHandler(tab10btn3_Click);
            tab11btn3.Click += new EventHandler(tab11btn3_Click);
            tab12btn3.Click += new EventHandler(tab12btn3_Click);

            tab1btn4.Click += new EventHandler(tab1btn4_Click);
            tab2btn4.Click += new EventHandler(tab2btn4_Click);
            tab3btn4.Click += new EventHandler(tab3btn4_Click);
            tab4btn4.Click += new EventHandler(tab4btn4_Click);
            tab5btn4.Click += new EventHandler(tab5btn4_Click);
            tab6btn4.Click += new EventHandler(tab6btn4_Click);
            tab7btn4.Click += new EventHandler(tab7btn4_Click);
            tab8btn4.Click += new EventHandler(tab8btn4_Click);
            tab9btn4.Click += new EventHandler(tab9btn4_Click);
            tab10btn4.Click += new EventHandler(tab10btn4_Click);
            tab11btn4.Click += new EventHandler(tab11btn4_Click);
            tab12btn4.Click += new EventHandler(tab12btn4_Click);

            tab1btn5.Click += new EventHandler(tab1btn5_Click);
            tab2btn5.Click += new EventHandler(tab2btn5_Click);
            tab3btn5.Click += new EventHandler(tab3btn5_Click);
            tab4btn5.Click += new EventHandler(tab4btn5_Click);
            tab5btn5.Click += new EventHandler(tab5btn5_Click);
            tab6btn5.Click += new EventHandler(tab6btn5_Click);
            tab7btn5.Click += new EventHandler(tab7btn5_Click);
            tab8btn5.Click += new EventHandler(tab8btn5_Click);
            tab9btn5.Click += new EventHandler(tab9btn5_Click);
            tab10btn5.Click += new EventHandler(tab10btn5_Click);
            tab11btn5.Click += new EventHandler(tab11btn5_Click);
            tab12btn5.Click += new EventHandler(tab12btn5_Click);

            tab1btn6.Click += new EventHandler(tab1btn6_Click);
            tab2btn6.Click += new EventHandler(tab2btn6_Click);
            tab3btn6.Click += new EventHandler(tab3btn6_Click);
            tab4btn6.Click += new EventHandler(tab4btn6_Click);
            tab5btn6.Click += new EventHandler(tab5btn6_Click);
            tab6btn6.Click += new EventHandler(tab6btn6_Click);
            tab7btn6.Click += new EventHandler(tab7btn6_Click);
            tab8btn6.Click += new EventHandler(tab8btn6_Click);
            tab9btn6.Click += new EventHandler(tab9btn6_Click);
            tab10btn6.Click += new EventHandler(tab10btn6_Click);
            tab11btn6.Click += new EventHandler(tab11btn6_Click);
            tab12btn6.Click += new EventHandler(tab12btn6_Click);

            tab1btn7.Click += new EventHandler(tab1btn7_Click);
            tab2btn7.Click += new EventHandler(tab2btn7_Click);
            tab3btn7.Click += new EventHandler(tab3btn7_Click);
            tab4btn7.Click += new EventHandler(tab4btn7_Click);
            tab5btn7.Click += new EventHandler(tab5btn7_Click);
            tab6btn7.Click += new EventHandler(tab6btn7_Click);
            tab7btn7.Click += new EventHandler(tab7btn7_Click);
            tab8btn7.Click += new EventHandler(tab8btn7_Click);
            tab9btn7.Click += new EventHandler(tab9btn7_Click);
            tab10btn7.Click += new EventHandler(tab10btn7_Click);
            tab11btn7.Click += new EventHandler(tab11btn7_Click);
            tab12btn7.Click += new EventHandler(tab12btn7_Click);
            
            tab1btn8.Click += new EventHandler(tab1btn8_Click);
            tab2btn8.Click += new EventHandler(tab2btn8_Click);
            tab3btn8.Click += new EventHandler(tab3btn8_Click);
            tab4btn8.Click += new EventHandler(tab4btn8_Click);
            tab5btn8.Click += new EventHandler(tab5btn8_Click);
            tab6btn8.Click += new EventHandler(tab6btn8_Click);
            tab7btn8.Click += new EventHandler(tab7btn8_Click);
            tab8btn8.Click += new EventHandler(tab8btn8_Click);
            tab9btn8.Click += new EventHandler(tab9btn8_Click);
            tab10btn8.Click += new EventHandler(tab10btn8_Click);
            tab11btn8.Click += new EventHandler(tab11btn8_Click);
            tab12btn8.Click += new EventHandler(tab12btn8_Click);

            tab1btn9.Click += new EventHandler(tab1btn9_Click);
            tab2btn9.Click += new EventHandler(tab2btn9_Click);
            tab3btn9.Click += new EventHandler(tab3btn9_Click);
            tab4btn9.Click += new EventHandler(tab4btn9_Click);
            tab5btn9.Click += new EventHandler(tab5btn9_Click);
            tab6btn9.Click += new EventHandler(tab6btn9_Click);
            tab7btn9.Click += new EventHandler(tab7btn9_Click);
            tab8btn9.Click += new EventHandler(tab8btn9_Click);
            tab9btn9.Click += new EventHandler(tab9btn9_Click);
            tab10btn9.Click += new EventHandler(tab10btn9_Click);
            tab11btn9.Click += new EventHandler(tab11btn9_Click);
            tab12btn9.Click += new EventHandler(tab12btn9_Click);

            tab1btn10.Click += new EventHandler(tab1btn10_Click);
            tab2btn10.Click += new EventHandler(tab2btn10_Click);
            tab3btn10.Click += new EventHandler(tab3btn10_Click);
            tab4btn10.Click += new EventHandler(tab4btn10_Click);
            tab5btn10.Click += new EventHandler(tab5btn10_Click);
            tab6btn10.Click += new EventHandler(tab6btn10_Click);
            tab7btn10.Click += new EventHandler(tab7btn10_Click);
            tab8btn10.Click += new EventHandler(tab8btn10_Click);
            tab9btn10.Click += new EventHandler(tab9btn10_Click);
            tab10btn10.Click += new EventHandler(tab10btn10_Click);
            tab11btn10.Click += new EventHandler(tab11btn10_Click);
            tab12btn10.Click += new EventHandler(tab12btn10_Click);

            #endregion
            
        }

        #region Tab Define

        #region TAB1 Define
        /// <summary>
        /// BTN 1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1(string textlabel, string imgname)
        {
            this.tab1.Visible = true;
            this.tab1.Text = textlabel;
            //this.tab1.Image = getImage(imgname);
            this.tab1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 1 Hide.
        /// </summary>
        public void HideTAB1()
        {
            this.tab1.Visible = false;
        }
        /// <summary>
        /// BTN 1 Enable.
        /// </summary>
        public void EnableTAB1()
        {
            this.tab1.Enabled = true;
        }
        /// <summary>
        /// BTN 1 Disable.
        /// </summary>
        public void DisableTAB1()
        {
            this.tab1.Enabled = false;
        }
        #endregion
        #region TAB2 Define
        /// <summary>
        /// BTN 2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2(string textlabel, string imgname)
        {
            this.tab2.Visible = true;
            this.tab2.Text = textlabel;
            //this.tab2.Image = getImage(imgname);
            this.tab2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 2 Hide.
        /// </summary>
        public void HideTAB2()
        {
            this.tab2.Visible = false;
        }
        /// <summary>
        /// BTN 2 Enable.
        /// </summary>
        public void EnableTAB2()
        {
            this.tab2.Enabled = true;
        }
        /// <summary>
        /// BTN 2 Disable.
        /// </summary>
        public void DisableTAB2()
        {
            this.tab2.Enabled = false;
        }
        #endregion
        #region TAB3 Define
        /// <summary>
        /// BTN 3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3(string textlabel, string imgname)
        {
            this.tab3.Visible = true;
            this.tab3.Text = textlabel;
            //this.tab3.Image = getImage(imgname);
            this.tab3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 3 Hide.
        /// </summary>
        public void HideTAB3()
        {
            this.tab3.Visible = false;
        }
        /// <summary>
        /// BTN 3 Enable.
        /// </summary>
        public void EnableTAB3()
        {
            this.tab3.Enabled = true;
        }
        /// <summary>
        /// BTN 3 Disable.
        /// </summary>
        public void DisableTAB3()
        {
            this.tab3.Enabled = false;
        }
        #endregion
        #region TAB4 Define
        /// <summary>
        /// BTN 4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4(string textlabel, string imgname)
        {
            this.tab4.Visible = true;
            this.tab4.Text = textlabel;
            //this.tab4.Image = getImage(imgname);
            this.tab4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 4 Hide.
        /// </summary>
        public void HideTAB4()
        {
            this.tab4.Visible = false;
        }
        /// <summary>
        /// BTN 4 Enable.
        /// </summary>
        public void EnableTAB4()
        {
            this.tab4.Enabled = true;
        }
        /// <summary>
        /// BTN 4 Disable.
        /// </summary>
        public void DisableTAB4()
        {
            this.tab4.Enabled = false;
        }
        #endregion
        #region TAB5 Define
        /// <summary>
        /// BTN 5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5(string textlabel, string imgname)
        {
            this.tab5.Visible = true;
            this.tab5.Text = textlabel;
            //this.tab5.Image = getImage(imgname);
            this.tab5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 5 Hide.
        /// </summary>
        public void HideTAB5()
        {
            this.tab5.Visible = false;
        }
        /// <summary>
        /// BTN 5 Enable.
        /// </summary>
        public void EnableTAB5()
        {
            this.tab5.Enabled = true;
        }
        /// <summary>
        /// BTN 5 Disable.
        /// </summary>
        public void DisableTAB5()
        {
            this.tab5.Enabled = false;
        }
        #endregion
        #region TAB6 Define
        /// <summary>
        /// BTN 6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6(string textlabel, string imgname)
        {
            this.tab6.Visible = true;
            this.tab6.Text = textlabel;
            //this.tab6.Image = getImage(imgname);
            this.tab6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 6 Hide.
        /// </summary>
        public void HideTAB6()
        {
            this.tab6.Visible = false;
        }
        /// <summary>
        /// BTN 6 Enable.
        /// </summary>
        public void EnableTAB6()
        {
            this.tab6.Enabled = true;
        }
        /// <summary>
        /// BTN 6 Disable.
        /// </summary>
        public void DisableTAB6()
        {
            this.tab6.Enabled = false;
        }
        #endregion
        #region TAB7 Define
        /// <summary>
        /// BTN 7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7(string textlabel, string imgname)
        {
            this.tab7.Visible = true;
            this.tab7.Text = textlabel;
            //this.tab7.Image = getImage(imgname);
            this.tab7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 7 Hide.
        /// </summary>
        public void HideTAB7()
        {
            this.tab7.Visible = false;
        }
        /// <summary>
        /// BTN 7 Enable.
        /// </summary>
        public void EnableTAB7()
        {
            this.tab7.Enabled = true;
        }
        /// <summary>
        /// BTN 7 Disable.
        /// </summary>
        public void DisableTAB7()
        {
            this.tab7.Enabled = false;
        }
        #endregion
        #region TAB8 Define
        /// <summary>
        /// BTN 8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8(string textlabel, string imgname)
        {
            this.tab8.Visible = true;
            this.tab8.Text = textlabel;
            //this.tab8.Image = getImage(imgname);
            this.tab8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 8 Hide.
        /// </summary>
        public void HideTAB8()
        {
            this.tab8.Visible = false;
        }
        /// <summary>
        /// BTN 8 Enable.
        /// </summary>
        public void EnableTAB8()
        {
            this.tab8.Enabled = true;
        }
        /// <summary>
        /// BTN 8 Disable.
        /// </summary>
        public void DisableTAB8()
        {
            this.tab8.Enabled = false;
        }
        #endregion
        #region TAB9 Define
        /// <summary>
        /// BTN 9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9(string textlabel, string imgname)
        {
            this.tab9.Visible = true;
            this.tab9.Text = textlabel;
            //this.tab9.Image = getImage(imgname);
            this.tab9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 9 Hide.
        /// </summary>
        public void HideTAB9()
        {
            this.tab9.Visible = false;
        }
        /// <summary>
        /// BTN 9 Enable.
        /// </summary>
        public void EnableTAB9()
        {
            this.tab9.Enabled = true;
        }
        /// <summary>
        /// BTN 9 Disable.
        /// </summary>
        public void DisableTAB9()
        {
            this.tab9.Enabled = false;
        }
        #endregion
        #region TAB10 Define
        /// <summary>
        /// BTN 10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10(string textlabel, string imgname)
        {
            this.tab10.Visible = true;
            this.tab10.Text = textlabel;
            //this.tab10.Image = getImage(imgname);
            this.tab10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 10 Hide.
        /// </summary>
        public void HideTAB10()
        {
            this.tab10.Visible = false;
        }
        /// <summary>
        /// BTN 10 Enable.
        /// </summary>
        public void EnableTAB10()
        {
            this.tab10.Enabled = true;
        }
        /// <summary>
        /// BTN 10 Disable.
        /// </summary>
        public void DisableTAB10()
        {
            this.tab10.Enabled = false;
        }
        #endregion
        #region TAB11 Define
        /// <summary>
        /// BTN 11 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11(string textlabel, string imgname)
        {
            this.tab11.Visible = true;
            this.tab11.Text = textlabel;
            //this.tab11.Image = getImage(imgname);
            this.tab11.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 11 Hide.
        /// </summary>
        public void HideTAB11()
        {
            this.tab11.Visible = false;
        }
        /// <summary>
        /// BTN 11 Enable.
        /// </summary>
        public void EnableTAB11()
        {
            this.tab11.Enabled = true;
        }
        /// <summary>
        /// BTN 11 Disable.
        /// </summary>
        public void DisableTAB11()
        {
            this.tab11.Enabled = false;
        }
        #endregion
        #region TAB12 Define
        /// <summary>
        /// BTN 12 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12(string textlabel, string imgname)
        {
            this.tab12.Visible = true;
            this.tab12.Text = textlabel;
            //this.tab12.Image = getImage(imgname);
            this.tab12.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN 12 Hide.
        /// </summary>
        public void HideTAB12()
        {
            this.tab12.Visible = false;
        }
        /// <summary>
        /// BTN 12 Enable.
        /// </summary>
        public void EnableTAB12()
        {
            this.tab12.Enabled = true;
        }
        /// <summary>
        /// BTN 12 Disable.
        /// </summary>
        public void DisableTAB12()
        {
            this.tab12.Enabled = false;
        }
        #endregion
        #endregion
        #region Tab BTN Define
        #region TAB1BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>        
        
        protected virtual void tab1btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN1(string textlabel, string imgname)
        {
            this.tab1btn1.Visible = true;
            this.tab1btn1.Text = textlabel;
            this.tab1btn1.Image = getImage(imgname);
            this.tab1btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB1BTN1()
        {
            this.tab1btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB1BTN1()
        {
            this.tab1btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB1BTN1()
        {
            this.tab1btn1.Enabled = false;
        }
        #endregion
        #region TAB2BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN1(string textlabel, string imgname)
        {
            this.tab2btn1.Visible = true;
            this.tab2btn1.Text = textlabel;
            this.tab2btn1.Image = getImage(imgname);
            this.tab2btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB2BTN1()
        {
            this.tab2btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB2BTN1()
        {
            this.tab2btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB2BTN1()
        {
            this.tab2btn1.Enabled = false;
        }
        #endregion
        #region TAB3BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN1(string textlabel, string imgname)
        {
            this.tab3btn1.Visible = true;
            this.tab3btn1.Text = textlabel;
            this.tab3btn1.Image = getImage(imgname);
            this.tab3btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB3BTN1()
        {
            this.tab3btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB3BTN1()
        {
            this.tab3btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB3BTN1()
        {
            this.tab3btn1.Enabled = false;
        }
        #endregion
        #region TAB4BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN1(string textlabel, string imgname)
        {
            this.tab4btn1.Visible = true;
            this.tab4btn1.Text = textlabel;
            this.tab4btn1.Image = getImage(imgname);
            this.tab4btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB4BTN1()
        {
            this.tab4btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB4BTN1()
        {
            this.tab4btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB4BTN1()
        {
            this.tab4btn1.Enabled = false;
        }
        #endregion
        #region TAB5BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN1(string textlabel, string imgname)
        {
            this.tab5btn1.Visible = true;
            this.tab5btn1.Text = textlabel;
            this.tab5btn1.Image = getImage(imgname);
            this.tab5btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB5BTN1()
        {
            this.tab5btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB5BTN1()
        {
            this.tab5btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB5BTN1()
        {
            this.tab5btn1.Enabled = false;
        }
        #endregion
        #region TAB6BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN1(string textlabel, string imgname)
        {
            this.tab6btn1.Visible = true;
            this.tab6btn1.Text = textlabel;
            this.tab6btn1.Image = getImage(imgname);
            this.tab6btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB6BTN1()
        {
            this.tab6btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB6BTN1()
        {
            this.tab6btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB6BTN1()
        {
            this.tab6btn1.Enabled = false;
        }
        #endregion
        #region TAB7BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN1(string textlabel, string imgname)
        {
            this.tab7btn1.Visible = true;
            this.tab7btn1.Text = textlabel;
            this.tab7btn1.Image = getImage(imgname);
            this.tab7btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB7BTN1()
        {
            this.tab7btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB7BTN1()
        {
            this.tab7btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB7BTN1()
        {
            this.tab7btn1.Enabled = false;
        }
        #endregion
        #region TAB8BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN1(string textlabel, string imgname)
        {
            this.tab8btn1.Visible = true;
            this.tab8btn1.Text = textlabel;
            this.tab8btn1.Image = getImage(imgname);
            this.tab8btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB8BTN1()
        {
            this.tab8btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB8BTN1()
        {
            this.tab8btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB8BTN1()
        {
            this.tab8btn1.Enabled = false;
        }
        #endregion
        #region TAB9BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN1(string textlabel, string imgname)
        {
            this.tab9btn1.Visible = true;
            this.tab9btn1.Text = textlabel;
            this.tab9btn1.Image = getImage(imgname);
            this.tab9btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB9BTN1()
        {
            this.tab9btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB9BTN1()
        {
            this.tab9btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB9BTN1()
        {
            this.tab9btn1.Enabled = false;
        }
        #endregion
        #region TAB10BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN1(string textlabel, string imgname)
        {
            this.tab10btn1.Visible = true;
            this.tab10btn1.Text = textlabel;
            this.tab10btn1.Image = getImage(imgname);
            this.tab10btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB10BTN1()
        {
            this.tab10btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB10BTN1()
        {
            this.tab10btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB10BTN1()
        {
            this.tab10btn1.Enabled = false;
        }
        #endregion
        #region TAB11BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN1(string textlabel, string imgname)
        {
            this.tab11btn1.Visible = true;
            this.tab11btn1.Text = textlabel;
            this.tab11btn1.Image = getImage(imgname);
            this.tab11btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB11BTN1()
        {
            this.tab11btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB11BTN1()
        {
            this.tab11btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB11BTN1()
        {
            this.tab11btn1.Enabled = false;
        }
        #endregion
        #region TAB12BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN1(string textlabel, string imgname)
        {            
            this.tab12btn1.Visible = true;
            this.tab12btn1.Text = textlabel;
            this.tab12btn1.Image = getImage(imgname);
            this.tab12btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn1.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideTAB12BTN1()
        {
            this.tab12btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableTAB12BTN1()
        {
            this.tab12btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableTAB12BTN1()
        {
            this.tab12btn1.Enabled = false;
        }
        #endregion


        #region TAB1BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN2(string textlabel, string imgname)
        {
            this.tab1btn2.Visible = true;
            this.tab1btn2.Text = textlabel;
            this.tab1btn2.Image = getImage(imgname);
            this.tab1btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB1BTN2()
        {
            this.tab1btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB1BTN2()
        {
            this.tab1btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB1BTN2()
        {
            this.tab1btn2.Enabled = false;
        }
        #endregion
        #region TAB2BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN2(string textlabel, string imgname)
        {
            this.tab2btn2.Visible = true;
            this.tab2btn2.Text = textlabel;
            this.tab2btn2.Image = getImage(imgname);
            this.tab2btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB2BTN2()
        {
            this.tab2btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB2BTN2()
        {
            this.tab2btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB2BTN2()
        {
            this.tab2btn2.Enabled = false;
        }
        #endregion
        #region TAB3BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN2(string textlabel, string imgname)
        {
            this.tab3btn2.Visible = true;
            this.tab3btn2.Text = textlabel;
            this.tab3btn2.Image = getImage(imgname);
            this.tab3btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB3BTN2()
        {
            this.tab3btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB3BTN2()
        {
            this.tab3btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB3BTN2()
        {
            this.tab3btn2.Enabled = false;
        }
        #endregion
        #region TAB4BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN2(string textlabel, string imgname)
        {
            this.tab4btn2.Visible = true;
            this.tab4btn2.Text = textlabel;
            this.tab4btn2.Image = getImage(imgname);
            this.tab4btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB4BTN2()
        {
            this.tab4btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB4BTN2()
        {
            this.tab4btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB4BTN2()
        {
            this.tab4btn2.Enabled = false;
        }
        #endregion
        #region TAB5BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN2(string textlabel, string imgname)
        {
            this.tab5btn2.Visible = true;
            this.tab5btn2.Text = textlabel;
            this.tab5btn2.Image = getImage(imgname);
            this.tab5btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB5BTN2()
        {
            this.tab5btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB5BTN2()
        {
            this.tab5btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB5BTN2()
        {
            this.tab5btn2.Enabled = false;
        }
        #endregion
        #region TAB6BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN2(string textlabel, string imgname)
        {
            this.tab6btn2.Visible = true;
            this.tab6btn2.Text = textlabel;
            this.tab6btn2.Image = getImage(imgname);
            this.tab6btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB6BTN2()
        {
            this.tab6btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB6BTN2()
        {
            this.tab6btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB6BTN2()
        {
            this.tab6btn2.Enabled = false;
        }
        #endregion
        #region TAB7BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN2(string textlabel, string imgname)
        {
            this.tab7btn2.Visible = true;
            this.tab7btn2.Text = textlabel;
            this.tab7btn2.Image = getImage(imgname);
            this.tab7btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB7BTN2()
        {
            this.tab7btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB7BTN2()
        {
            this.tab7btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB7BTN2()
        {
            this.tab7btn2.Enabled = false;
        }
        #endregion
        #region TAB8BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN2(string textlabel, string imgname)
        {
            this.tab8btn2.Visible = true;
            this.tab8btn2.Text = textlabel;
            this.tab8btn2.Image = getImage(imgname);
            this.tab8btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB8BTN2()
        {
            this.tab8btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB8BTN2()
        {
            this.tab8btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB8BTN2()
        {
            this.tab8btn2.Enabled = false;
        }
        #endregion
        #region TAB9BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN2(string textlabel, string imgname)
        {
            this.tab9btn2.Visible = true;
            this.tab9btn2.Text = textlabel;
            this.tab9btn2.Image = getImage(imgname);
            this.tab9btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB9BTN2()
        {
            this.tab9btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB9BTN2()
        {
            this.tab9btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB9BTN2()
        {
            this.tab9btn2.Enabled = false;
        }
        #endregion
        #region TAB10BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN2(string textlabel, string imgname)
        {
            this.tab10btn2.Visible = true;
            this.tab10btn2.Text = textlabel;
            this.tab10btn2.Image = getImage(imgname);
            this.tab10btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB10BTN2()
        {
            this.tab10btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB10BTN2()
        {
            this.tab10btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB10BTN2()
        {
            this.tab10btn2.Enabled = false;
        }
        #endregion
        #region TAB11BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN2(string textlabel, string imgname)
        {
            this.tab11btn2.Visible = true;
            this.tab11btn2.Text = textlabel;
            this.tab11btn2.Image = getImage(imgname);
            this.tab11btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB11BTN2()
        {
            this.tab11btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB11BTN2()
        {
            this.tab11btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB11BTN2()
        {
            this.tab11btn2.Enabled = false;
        }
        #endregion
        #region TAB12BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN2(string textlabel, string imgname)
        {            
            this.tab12btn2.Visible = true;
            this.tab12btn2.Text = textlabel;
            this.tab12btn2.Image = getImage(imgname);
            this.tab12btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn2.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideTAB12BTN2()
        {
            this.tab12btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableTAB12BTN2()
        {
            this.tab12btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableTAB12BTN2()
        {
            this.tab12btn2.Enabled = false;
        }
        #endregion


        #region TAB1BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN3(string textlabel, string imgname)
        {
            this.tab1btn3.Visible = true;
            this.tab1btn3.Text = textlabel;
            this.tab1btn3.Image = getImage(imgname);
            this.tab1btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB1BTN3()
        {
            this.tab1btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB1BTN3()
        {
            this.tab1btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB1BTN3()
        {
            this.tab1btn3.Enabled = false;
        }
        #endregion
        #region TAB2BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN3(string textlabel, string imgname)
        {
            this.tab2btn3.Visible = true;
            this.tab2btn3.Text = textlabel;
            this.tab2btn3.Image = getImage(imgname);
            this.tab2btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB2BTN3()
        {
            this.tab2btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB2BTN3()
        {
            this.tab2btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB2BTN3()
        {
            this.tab2btn3.Enabled = false;
        }
        #endregion
        #region TAB3BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN3(string textlabel, string imgname)
        {
            this.tab3btn3.Visible = true;
            this.tab3btn3.Text = textlabel;
            this.tab3btn3.Image = getImage(imgname);
            this.tab3btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB3BTN3()
        {
            this.tab3btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB3BTN3()
        {
            this.tab3btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB3BTN3()
        {
            this.tab3btn3.Enabled = false;
        }
        #endregion
        #region TAB4BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN3(string textlabel, string imgname)
        {
            this.tab4btn3.Visible = true;
            this.tab4btn3.Text = textlabel;
            this.tab4btn3.Image = getImage(imgname);
            this.tab4btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB4BTN3()
        {
            this.tab4btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB4BTN3()
        {
            this.tab4btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB4BTN3()
        {
            this.tab4btn3.Enabled = false;
        }
        #endregion
        #region TAB5BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN3(string textlabel, string imgname)
        {
            this.tab5btn3.Visible = true;
            this.tab5btn3.Text = textlabel;
            this.tab5btn3.Image = getImage(imgname);
            this.tab5btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB5BTN3()
        {
            this.tab5btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB5BTN3()
        {
            this.tab5btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB5BTN3()
        {
            this.tab5btn3.Enabled = false;
        }
        #endregion
        #region TAB6BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN3(string textlabel, string imgname)
        {
            this.tab6btn3.Visible = true;
            this.tab6btn3.Text = textlabel;
            this.tab6btn3.Image = getImage(imgname);
            this.tab6btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB6BTN3()
        {
            this.tab6btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB6BTN3()
        {
            this.tab6btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB6BTN3()
        {
            this.tab6btn3.Enabled = false;
        }
        #endregion
        #region TAB7BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN3(string textlabel, string imgname)
        {
            this.tab7btn3.Visible = true;
            this.tab7btn3.Text = textlabel;
            this.tab7btn3.Image = getImage(imgname);
            this.tab7btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB7BTN3()
        {
            this.tab7btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB7BTN3()
        {
            this.tab7btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB7BTN3()
        {
            this.tab7btn3.Enabled = false;
        }
        #endregion
        #region TAB8BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN3(string textlabel, string imgname)
        {
            this.tab8btn3.Visible = true;
            this.tab8btn3.Text = textlabel;
            this.tab8btn3.Image = getImage(imgname);
            this.tab8btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB8BTN3()
        {
            this.tab8btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB8BTN3()
        {
            this.tab8btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB8BTN3()
        {
            this.tab8btn3.Enabled = false;
        }
        #endregion
        #region TAB9BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN3(string textlabel, string imgname)
        {
            this.tab9btn3.Visible = true;
            this.tab9btn3.Text = textlabel;
            this.tab9btn3.Image = getImage(imgname);
            this.tab9btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB9BTN3()
        {
            this.tab9btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB9BTN3()
        {
            this.tab9btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB9BTN3()
        {
            this.tab9btn3.Enabled = false;
        }
        #endregion
        #region TAB10BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN3(string textlabel, string imgname)
        {
            this.tab10btn3.Visible = true;
            this.tab10btn3.Text = textlabel;
            this.tab10btn3.Image = getImage(imgname);
            this.tab10btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB10BTN3()
        {
            this.tab10btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB10BTN3()
        {
            this.tab10btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB10BTN3()
        {
            this.tab10btn3.Enabled = false;
        }
        #endregion
        #region TAB11BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN3(string textlabel, string imgname)
        {
            this.tab11btn3.Visible = true;
            this.tab11btn3.Text = textlabel;
            this.tab11btn3.Image = getImage(imgname);
            this.tab11btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB11BTN3()
        {
            this.tab11btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB11BTN3()
        {
            this.tab11btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB11BTN3()
        {
            this.tab11btn3.Enabled = false;
        }
        #endregion
        #region TAB12BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN3(string textlabel, string imgname)
        {            
            this.tab12btn3.Visible = true;
            this.tab12btn3.Text = textlabel;
            this.tab12btn3.Image = getImage(imgname);
            this.tab12btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn3.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideTAB12BTN3()
        {
            this.tab12btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableTAB12BTN3()
        {
            this.tab12btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableTAB12BTN3()
        {
            this.tab12btn3.Enabled = false;
        }
        #endregion


        #region TAB1BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN4(string textlabel, string imgname)
        {
            this.tab1btn4.Visible = true;
            this.tab1btn4.Text = textlabel;
            this.tab1btn4.Image = getImage(imgname);
            this.tab1btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB1BTN4()
        {
            this.tab1btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB1BTN4()
        {
            this.tab1btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB1BTN4()
        {
            this.tab1btn4.Enabled = false;
        }
        #endregion
        #region TAB2BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN4(string textlabel, string imgname)
        {
            this.tab2btn4.Visible = true;
            this.tab2btn4.Text = textlabel;
            this.tab2btn4.Image = getImage(imgname);
            this.tab2btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB2BTN4()
        {
            this.tab2btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB2BTN4()
        {
            this.tab2btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB2BTN4()
        {
            this.tab2btn4.Enabled = false;
        }
        #endregion
        #region TAB3BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN4(string textlabel, string imgname)
        {
            this.tab3btn4.Visible = true;
            this.tab3btn4.Text = textlabel;
            this.tab3btn4.Image = getImage(imgname);
            this.tab3btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB3BTN4()
        {
            this.tab3btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB3BTN4()
        {
            this.tab3btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB3BTN4()
        {
            this.tab3btn4.Enabled = false;
        }
        #endregion
        #region TAB4BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN4(string textlabel, string imgname)
        {
            this.tab4btn4.Visible = true;
            this.tab4btn4.Text = textlabel;
            this.tab4btn4.Image = getImage(imgname);
            this.tab4btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB4BTN4()
        {
            this.tab4btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB4BTN4()
        {
            this.tab4btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB4BTN4()
        {
            this.tab4btn4.Enabled = false;
        }
        #endregion
        #region TAB5BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN4(string textlabel, string imgname)
        {
            this.tab5btn4.Visible = true;
            this.tab5btn4.Text = textlabel;
            this.tab5btn4.Image = getImage(imgname);
            this.tab5btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB5BTN4()
        {
            this.tab5btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB5BTN4()
        {
            this.tab5btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB5BTN4()
        {
            this.tab5btn4.Enabled = false;
        }
        #endregion
        #region TAB6BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN4(string textlabel, string imgname)
        {
            this.tab6btn4.Visible = true;
            this.tab6btn4.Text = textlabel;
            this.tab6btn4.Image = getImage(imgname);
            this.tab6btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB6BTN4()
        {
            this.tab6btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB6BTN4()
        {
            this.tab6btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB6BTN4()
        {
            this.tab6btn4.Enabled = false;
        }
        #endregion
        #region TAB7BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN4(string textlabel, string imgname)
        {
            this.tab7btn4.Visible = true;
            this.tab7btn4.Text = textlabel;
            this.tab7btn4.Image = getImage(imgname);
            this.tab7btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB7BTN4()
        {
            this.tab7btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB7BTN4()
        {
            this.tab7btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB7BTN4()
        {
            this.tab7btn4.Enabled = false;
        }
        #endregion
        #region TAB8BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN4(string textlabel, string imgname)
        {
            this.tab8btn4.Visible = true;
            this.tab8btn4.Text = textlabel;
            this.tab8btn4.Image = getImage(imgname);
            this.tab8btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB8BTN4()
        {
            this.tab8btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB8BTN4()
        {
            this.tab8btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB8BTN4()
        {
            this.tab8btn4.Enabled = false;
        }
        #endregion
        #region TAB9BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN4(string textlabel, string imgname)
        {
            this.tab9btn4.Visible = true;
            this.tab9btn4.Text = textlabel;
            this.tab9btn4.Image = getImage(imgname);
            this.tab9btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB9BTN4()
        {
            this.tab9btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB9BTN4()
        {
            this.tab9btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB9BTN4()
        {
            this.tab9btn4.Enabled = false;
        }
        #endregion
        #region TAB10BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN4(string textlabel, string imgname)
        {
            this.tab10btn4.Visible = true;
            this.tab10btn4.Text = textlabel;
            this.tab10btn4.Image = getImage(imgname);
            this.tab10btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB10BTN4()
        {
            this.tab10btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB10BTN4()
        {
            this.tab10btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB10BTN4()
        {
            this.tab10btn4.Enabled = false;
        }
        #endregion
        #region TAB11BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN4(string textlabel, string imgname)
        {
            this.tab11btn4.Visible = true;
            this.tab11btn4.Text = textlabel;
            this.tab11btn4.Image = getImage(imgname);
            this.tab11btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB11BTN4()
        {
            this.tab11btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB11BTN4()
        {
            this.tab11btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB11BTN4()
        {
            this.tab11btn4.Enabled = false;
        }
        #endregion
        #region TAB12BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN4(string textlabel, string imgname)
        {            
            this.tab12btn4.Visible = true;
            this.tab12btn4.Text = textlabel;
            this.tab12btn4.Image = getImage(imgname);
            this.tab12btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn4.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideTAB12BTN4()
        {
            this.tab12btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableTAB12BTN4()
        {
            this.tab12btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableTAB12BTN4()
        {
            this.tab12btn4.Enabled = false;
        }
        #endregion


        #region TAB1BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN5(string textlabel, string imgname)
        {
            this.tab1btn5.Visible = true;
            this.tab1btn5.Text = textlabel;
            this.tab1btn5.Image = getImage(imgname);
            this.tab1btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB1BTN5()
        {
            this.tab1btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB1BTN5()
        {
            this.tab1btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB1BTN5()
        {
            this.tab1btn5.Enabled = false;
        }
        #endregion
        #region TAB2BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN5(string textlabel, string imgname)
        {
            this.tab2btn5.Visible = true;
            this.tab2btn5.Text = textlabel;
            this.tab2btn5.Image = getImage(imgname);
            this.tab2btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB2BTN5()
        {
            this.tab2btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB2BTN5()
        {
            this.tab2btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB2BTN5()
        {
            this.tab2btn5.Enabled = false;
        }
        #endregion
        #region TAB3BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN5(string textlabel, string imgname)
        {
            this.tab3btn5.Visible = true;
            this.tab3btn5.Text = textlabel;
            this.tab3btn5.Image = getImage(imgname);
            this.tab3btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB3BTN5()
        {
            this.tab3btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB3BTN5()
        {
            this.tab3btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB3BTN5()
        {
            this.tab3btn5.Enabled = false;
        }
        #endregion
        #region TAB4BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN5(string textlabel, string imgname)
        {
            this.tab4btn5.Visible = true;
            this.tab4btn5.Text = textlabel;
            this.tab4btn5.Image = getImage(imgname);
            this.tab4btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB4BTN5()
        {
            this.tab4btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB4BTN5()
        {
            this.tab4btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB4BTN5()
        {
            this.tab4btn5.Enabled = false;
        }
        #endregion
        #region TAB5BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN5(string textlabel, string imgname)
        {
            this.tab5btn5.Visible = true;
            this.tab5btn5.Text = textlabel;
            this.tab5btn5.Image = getImage(imgname);
            this.tab5btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB5BTN5()
        {
            this.tab5btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB5BTN5()
        {
            this.tab5btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB5BTN5()
        {
            this.tab5btn5.Enabled = false;
        }
        #endregion
        #region TAB6BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN5(string textlabel, string imgname)
        {
            this.tab6btn5.Visible = true;
            this.tab6btn5.Text = textlabel;
            this.tab6btn5.Image = getImage(imgname);
            this.tab6btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB6BTN5()
        {
            this.tab6btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB6BTN5()
        {
            this.tab6btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB6BTN5()
        {
            this.tab6btn5.Enabled = false;
        }
        #endregion
        #region TAB7BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN5(string textlabel, string imgname)
        {
            this.tab7btn5.Visible = true;
            this.tab7btn5.Text = textlabel;
            this.tab7btn5.Image = getImage(imgname);
            this.tab7btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB7BTN5()
        {
            this.tab7btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB7BTN5()
        {
            this.tab7btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB7BTN5()
        {
            this.tab7btn5.Enabled = false;
        }
        #endregion
        #region TAB8BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN5(string textlabel, string imgname)
        {
            this.tab8btn5.Visible = true;
            this.tab8btn5.Text = textlabel;
            this.tab8btn5.Image = getImage(imgname);
            this.tab8btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB8BTN5()
        {
            this.tab8btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB8BTN5()
        {
            this.tab8btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB8BTN5()
        {
            this.tab8btn5.Enabled = false;
        }
        #endregion
        #region TAB9BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN5(string textlabel, string imgname)
        {
            this.tab9btn5.Visible = true;
            this.tab9btn5.Text = textlabel;
            this.tab9btn5.Image = getImage(imgname);
            this.tab9btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB9BTN5()
        {
            this.tab9btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB9BTN5()
        {
            this.tab9btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB9BTN5()
        {
            this.tab9btn5.Enabled = false;
        }
        #endregion
        #region TAB10BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN5(string textlabel, string imgname)
        {
            this.tab10btn5.Visible = true;
            this.tab10btn5.Text = textlabel;
            this.tab10btn5.Image = getImage(imgname);
            this.tab10btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB10BTN5()
        {
            this.tab10btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB10BTN5()
        {
            this.tab10btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB10BTN5()
        {
            this.tab10btn5.Enabled = false;
        }
        #endregion
        #region TAB11BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN5(string textlabel, string imgname)
        {
            this.tab11btn5.Visible = true;
            this.tab11btn5.Text = textlabel;
            this.tab11btn5.Image = getImage(imgname);
            this.tab11btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB11BTN5()
        {
            this.tab11btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB11BTN5()
        {
            this.tab11btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB11BTN5()
        {
            this.tab11btn5.Enabled = false;
        }
        #endregion
        #region TAB12BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN5(string textlabel, string imgname)
        {            
            this.tab12btn5.Visible = true;
            this.tab12btn5.Text = textlabel;
            this.tab12btn5.Image = getImage(imgname);
            this.tab12btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn5.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideTAB12BTN5()
        {
            this.tab12btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableTAB12BTN5()
        {
            this.tab12btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableTAB12BTN5()
        {
            this.tab12btn5.Enabled = false;
        }
        #endregion


        #region TAB1BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN6(string textlabel, string imgname)
        {
            this.tab1btn6.Visible = true;
            this.tab1btn6.Text = textlabel;
            this.tab1btn6.Image = getImage(imgname);
            this.tab1btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB1BTN6()
        {
            this.tab1btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB1BTN6()
        {
            this.tab1btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB1BTN6()
        {
            this.tab1btn6.Enabled = false;
        }
        #endregion
        #region TAB2BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN6(string textlabel, string imgname)
        {
            this.tab2btn6.Visible = true;
            this.tab2btn6.Text = textlabel;
            this.tab2btn6.Image = getImage(imgname);
            this.tab2btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB2BTN6()
        {
            this.tab2btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB2BTN6()
        {
            this.tab2btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB2BTN6()
        {
            this.tab2btn6.Enabled = false;
        }
        #endregion
        #region TAB3BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN6(string textlabel, string imgname)
        {
            this.tab3btn6.Visible = true;
            this.tab3btn6.Text = textlabel;
            this.tab3btn6.Image = getImage(imgname);
            this.tab3btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB3BTN6()
        {
            this.tab3btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB3BTN6()
        {
            this.tab3btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB3BTN6()
        {
            this.tab3btn6.Enabled = false;
        }
        #endregion
        #region TAB4BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN6(string textlabel, string imgname)
        {
            this.tab4btn6.Visible = true;
            this.tab4btn6.Text = textlabel;
            this.tab4btn6.Image = getImage(imgname);
            this.tab4btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB4BTN6()
        {
            this.tab4btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB4BTN6()
        {
            this.tab4btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB4BTN6()
        {
            this.tab4btn6.Enabled = false;
        }
        #endregion
        #region TAB5BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN6(string textlabel, string imgname)
        {
            this.tab5btn6.Visible = true;
            this.tab5btn6.Text = textlabel;
            this.tab5btn6.Image = getImage(imgname);
            this.tab5btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB5BTN6()
        {
            this.tab5btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB5BTN6()
        {
            this.tab5btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB5BTN6()
        {
            this.tab5btn6.Enabled = false;
        }
        #endregion
        #region TAB6BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN6(string textlabel, string imgname)
        {
            this.tab6btn6.Visible = true;
            this.tab6btn6.Text = textlabel;
            this.tab6btn6.Image = getImage(imgname);
            this.tab6btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB6BTN6()
        {
            this.tab6btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB6BTN6()
        {
            this.tab6btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB6BTN6()
        {
            this.tab6btn6.Enabled = false;
        }
        #endregion
        #region TAB7BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN6(string textlabel, string imgname)
        {
            this.tab7btn6.Visible = true;
            this.tab7btn6.Text = textlabel;
            this.tab7btn6.Image = getImage(imgname);
            this.tab7btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB7BTN6()
        {
            this.tab7btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB7BTN6()
        {
            this.tab7btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB7BTN6()
        {
            this.tab7btn6.Enabled = false;
        }
        #endregion
        #region TAB8BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN6(string textlabel, string imgname)
        {
            this.tab8btn6.Visible = true;
            this.tab8btn6.Text = textlabel;
            this.tab8btn6.Image = getImage(imgname);
            this.tab8btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB8BTN6()
        {
            this.tab8btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB8BTN6()
        {
            this.tab8btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB8BTN6()
        {
            this.tab8btn6.Enabled = false;
        }
        #endregion
        #region TAB9BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN6(string textlabel, string imgname)
        {
            this.tab9btn6.Visible = true;
            this.tab9btn6.Text = textlabel;
            this.tab9btn6.Image = getImage(imgname);
            this.tab9btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB9BTN6()
        {
            this.tab9btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB9BTN6()
        {
            this.tab9btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB9BTN6()
        {
            this.tab9btn6.Enabled = false;
        }
        #endregion
        #region TAB10BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN6(string textlabel, string imgname)
        {
            this.tab10btn6.Visible = true;
            this.tab10btn6.Text = textlabel;
            this.tab10btn6.Image = getImage(imgname);
            this.tab10btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB10BTN6()
        {
            this.tab10btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB10BTN6()
        {
            this.tab10btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB10BTN6()
        {
            this.tab10btn6.Enabled = false;
        }
        #endregion
        #region TAB11BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN6(string textlabel, string imgname)
        {
            this.tab11btn6.Visible = true;
            this.tab11btn6.Text = textlabel;
            this.tab11btn6.Image = getImage(imgname);
            this.tab11btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn6.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB11BTN6()
        {
            this.tab11btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB11BTN6()
        {
            this.tab11btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB11BTN6()
        {
            this.tab11btn6.Enabled = false;
        }
        #endregion
        #region TAB12BTN6 Define
        /// <summary>
        /// BTN6 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn6_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN6 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN6(string textlabel, string imgname)
        {            
            this.tab12btn6.Visible = true;
            this.tab12btn6.Text = textlabel;
            this.tab12btn6.Image = getImage(imgname);
            this.tab12btn6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn6.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN6 Hide.
        /// </summary>
        public void HideTAB12BTN6()
        {
            this.tab12btn6.Visible = false;
        }
        /// <summary>
        /// BTN6 Enable.
        /// </summary>
        public void EnableTAB12BTN6()
        {
            this.tab12btn6.Enabled = true;
        }
        /// <summary>
        /// BTN6 Disable.
        /// </summary>
        public void DisableTAB12BTN6()
        {
            this.tab12btn6.Enabled = false;
        }
        #endregion


        #region TAB1BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN7(string textlabel, string imgname)
        {
            this.tab1btn7.Visible = true;
            this.tab1btn7.Text = textlabel;
            this.tab1btn7.Image = getImage(imgname);
            this.tab1btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB1BTN7()
        {
            this.tab1btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB1BTN7()
        {
            this.tab1btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB1BTN7()
        {
            this.tab1btn7.Enabled = false;
        }
        #endregion
        #region TAB2BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN7(string textlabel, string imgname)
        {
            this.tab2btn7.Visible = true;
            this.tab2btn7.Text = textlabel;
            this.tab2btn7.Image = getImage(imgname);
            this.tab2btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB2BTN7()
        {
            this.tab2btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB2BTN7()
        {
            this.tab2btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB2BTN7()
        {
            this.tab2btn7.Enabled = false;
        }
        #endregion
        #region TAB3BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN7(string textlabel, string imgname)
        {
            this.tab3btn7.Visible = true;
            this.tab3btn7.Text = textlabel;
            this.tab3btn7.Image = getImage(imgname);
            this.tab3btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB3BTN7()
        {
            this.tab3btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB3BTN7()
        {
            this.tab3btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB3BTN7()
        {
            this.tab3btn7.Enabled = false;
        }
        #endregion
        #region TAB4BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN7(string textlabel, string imgname)
        {
            this.tab4btn7.Visible = true;
            this.tab4btn7.Text = textlabel;
            this.tab4btn7.Image = getImage(imgname);
            this.tab4btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB4BTN7()
        {
            this.tab4btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB4BTN7()
        {
            this.tab4btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB4BTN7()
        {
            this.tab4btn7.Enabled = false;
        }
        #endregion
        #region TAB5BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN7(string textlabel, string imgname)
        {
            this.tab5btn7.Visible = true;
            this.tab5btn7.Text = textlabel;
            this.tab5btn7.Image = getImage(imgname);
            this.tab5btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB5BTN7()
        {
            this.tab5btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB5BTN7()
        {
            this.tab5btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB5BTN7()
        {
            this.tab5btn7.Enabled = false;
        }
        #endregion
        #region TAB6BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN7(string textlabel, string imgname)
        {
            this.tab6btn7.Visible = true;
            this.tab6btn7.Text = textlabel;
            this.tab6btn7.Image = getImage(imgname);
            this.tab6btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB6BTN7()
        {
            this.tab6btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB6BTN7()
        {
            this.tab6btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB6BTN7()
        {
            this.tab6btn7.Enabled = false;
        }
        #endregion
        #region TAB7BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN7(string textlabel, string imgname)
        {
            this.tab7btn7.Visible = true;
            this.tab7btn7.Text = textlabel;
            this.tab7btn7.Image = getImage(imgname);
            this.tab7btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB7BTN7()
        {
            this.tab7btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB7BTN7()
        {
            this.tab7btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB7BTN7()
        {
            this.tab7btn7.Enabled = false;
        }
        #endregion
        #region TAB8BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN7(string textlabel, string imgname)
        {
            this.tab8btn7.Visible = true;
            this.tab8btn7.Text = textlabel;
            this.tab8btn7.Image = getImage(imgname);
            this.tab8btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB8BTN7()
        {
            this.tab8btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB8BTN7()
        {
            this.tab8btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB8BTN7()
        {
            this.tab8btn7.Enabled = false;
        }
        #endregion
        #region TAB9BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN7(string textlabel, string imgname)
        {
            this.tab9btn7.Visible = true;
            this.tab9btn7.Text = textlabel;
            this.tab9btn7.Image = getImage(imgname);
            this.tab9btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB9BTN7()
        {
            this.tab9btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB9BTN7()
        {
            this.tab9btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB9BTN7()
        {
            this.tab9btn7.Enabled = false;
        }
        #endregion
        #region TAB10BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN7(string textlabel, string imgname)
        {
            this.tab10btn7.Visible = true;
            this.tab10btn7.Text = textlabel;
            this.tab10btn7.Image = getImage(imgname);
            this.tab10btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB10BTN7()
        {
            this.tab10btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB10BTN7()
        {
            this.tab10btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB10BTN7()
        {
            this.tab10btn7.Enabled = false;
        }
        #endregion
        #region TAB11BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN7(string textlabel, string imgname)
        {
            this.tab11btn7.Visible = true;
            this.tab11btn7.Text = textlabel;
            this.tab11btn7.Image = getImage(imgname);
            this.tab11btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn7.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB11BTN7()
        {
            this.tab11btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB11BTN7()
        {
            this.tab11btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB11BTN7()
        {
            this.tab11btn7.Enabled = false;
        }
        #endregion
        #region TAB12BTN7 Define
        /// <summary>
        /// BTN7 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn7_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN7 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN7(string textlabel, string imgname)
        {            
            this.tab12btn7.Visible = true;
            this.tab12btn7.Text = textlabel;
            this.tab12btn7.Image = getImage(imgname);
            this.tab12btn7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn7.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN7 Hide.
        /// </summary>
        public void HideTAB12BTN7()
        {
            this.tab12btn7.Visible = false;
        }
        /// <summary>
        /// BTN7 Enable.
        /// </summary>
        public void EnableTAB12BTN7()
        {
            this.tab12btn7.Enabled = true;
        }
        /// <summary>
        /// BTN7 Disable.
        /// </summary>
        public void DisableTAB12BTN7()
        {
            this.tab12btn7.Enabled = false;
        }
        #endregion


        #region TAB1BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN8(string textlabel, string imgname)
        {
            this.tab1btn8.Visible = true;
            this.tab1btn8.Text = textlabel;
            this.tab1btn8.Image = getImage(imgname);
            this.tab1btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB1BTN8()
        {
            this.tab1btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB1BTN8()
        {
            this.tab1btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB1BTN8()
        {
            this.tab1btn8.Enabled = false;
        }
        #endregion
        #region TAB2BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN8(string textlabel, string imgname)
        {
            this.tab2btn8.Visible = true;
            this.tab2btn8.Text = textlabel;
            this.tab2btn8.Image = getImage(imgname);
            this.tab2btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB2BTN8()
        {
            this.tab2btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB2BTN8()
        {
            this.tab2btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB2BTN8()
        {
            this.tab2btn8.Enabled = false;
        }
        #endregion
        #region TAB3BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN8(string textlabel, string imgname)
        {
            this.tab3btn8.Visible = true;
            this.tab3btn8.Text = textlabel;
            this.tab3btn8.Image = getImage(imgname);
            this.tab3btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB3BTN8()
        {
            this.tab3btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB3BTN8()
        {
            this.tab3btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB3BTN8()
        {
            this.tab3btn8.Enabled = false;
        }
        #endregion
        #region TAB4BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN8(string textlabel, string imgname)
        {
            this.tab4btn8.Visible = true;
            this.tab4btn8.Text = textlabel;
            this.tab4btn8.Image = getImage(imgname);
            this.tab4btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB4BTN8()
        {
            this.tab4btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB4BTN8()
        {
            this.tab4btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB4BTN8()
        {
            this.tab4btn8.Enabled = false;
        }
        #endregion
        #region TAB5BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN8(string textlabel, string imgname)
        {
            this.tab5btn8.Visible = true;
            this.tab5btn8.Text = textlabel;
            this.tab5btn8.Image = getImage(imgname);
            this.tab5btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB5BTN8()
        {
            this.tab5btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB5BTN8()
        {
            this.tab5btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB5BTN8()
        {
            this.tab5btn8.Enabled = false;
        }
        #endregion
        #region TAB6BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN8(string textlabel, string imgname)
        {
            this.tab6btn8.Visible = true;
            this.tab6btn8.Text = textlabel;
            this.tab6btn8.Image = getImage(imgname);
            this.tab6btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB6BTN8()
        {
            this.tab6btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB6BTN8()
        {
            this.tab6btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB6BTN8()
        {
            this.tab6btn8.Enabled = false;
        }
        #endregion
        #region TAB7BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN8(string textlabel, string imgname)
        {
            this.tab7btn8.Visible = true;
            this.tab7btn8.Text = textlabel;
            this.tab7btn8.Image = getImage(imgname);
            this.tab7btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB7BTN8()
        {
            this.tab7btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB7BTN8()
        {
            this.tab7btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB7BTN8()
        {
            this.tab7btn8.Enabled = false;
        }
        #endregion
        #region TAB8BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN8(string textlabel, string imgname)
        {
            this.tab8btn8.Visible = true;
            this.tab8btn8.Text = textlabel;
            this.tab8btn8.Image = getImage(imgname);
            this.tab8btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB8BTN8()
        {
            this.tab8btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB8BTN8()
        {
            this.tab8btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB8BTN8()
        {
            this.tab8btn8.Enabled = false;
        }
        #endregion
        #region TAB9BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN8(string textlabel, string imgname)
        {
            this.tab9btn8.Visible = true;
            this.tab9btn8.Text = textlabel;
            this.tab9btn8.Image = getImage(imgname);
            this.tab9btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB9BTN8()
        {
            this.tab9btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB9BTN8()
        {
            this.tab9btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB9BTN8()
        {
            this.tab9btn8.Enabled = false;
        }
        #endregion
        #region TAB10BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN8(string textlabel, string imgname)
        {
            this.tab10btn8.Visible = true;
            this.tab10btn8.Text = textlabel;
            this.tab10btn8.Image = getImage(imgname);
            this.tab10btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB10BTN8()
        {
            this.tab10btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB10BTN8()
        {
            this.tab10btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB10BTN8()
        {
            this.tab10btn8.Enabled = false;
        }
        #endregion
        #region TAB11BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN8(string textlabel, string imgname)
        {
            this.tab11btn8.Visible = true;
            this.tab11btn8.Text = textlabel;
            this.tab11btn8.Image = getImage(imgname);
            this.tab11btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn8.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB11BTN8()
        {
            this.tab11btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB11BTN8()
        {
            this.tab11btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB11BTN8()
        {
            this.tab11btn8.Enabled = false;
        }
        #endregion
        #region TAB12BTN8 Define
        /// <summary>
        /// BTN8 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn8_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN8 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN8(string textlabel, string imgname)
        {            
            this.tab12btn8.Visible = true;
            this.tab12btn8.Text = textlabel;
            this.tab12btn8.Image = getImage(imgname);
            this.tab12btn8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn8.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN8 Hide.
        /// </summary>
        public void HideTAB12BTN8()
        {
            this.tab12btn8.Visible = false;
        }
        /// <summary>
        /// BTN8 Enable.
        /// </summary>
        public void EnableTAB12BTN8()
        {
            this.tab12btn8.Enabled = true;
        }
        /// <summary>
        /// BTN8 Disable.
        /// </summary>
        public void DisableTAB12BTN8()
        {
            this.tab12btn8.Enabled = false;
        }
        #endregion


        #region TAB1BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN9(string textlabel, string imgname)
        {
            this.tab1btn9.Visible = true;
            this.tab1btn9.Text = textlabel;
            this.tab1btn9.Image = getImage(imgname);
            this.tab1btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB1BTN9()
        {
            this.tab1btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB1BTN9()
        {
            this.tab1btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB1BTN9()
        {
            this.tab1btn9.Enabled = false;
        }
        #endregion
        #region TAB2BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN9(string textlabel, string imgname)
        {
            this.tab2btn9.Visible = true;
            this.tab2btn9.Text = textlabel;
            this.tab2btn9.Image = getImage(imgname);
            this.tab2btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB2BTN9()
        {
            this.tab2btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB2BTN9()
        {
            this.tab2btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB2BTN9()
        {
            this.tab2btn9.Enabled = false;
        }
        #endregion
        #region TAB3BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN9(string textlabel, string imgname)
        {
            this.tab3btn9.Visible = true;
            this.tab3btn9.Text = textlabel;
            this.tab3btn9.Image = getImage(imgname);
            this.tab3btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB3BTN9()
        {
            this.tab3btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB3BTN9()
        {
            this.tab3btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB3BTN9()
        {
            this.tab3btn9.Enabled = false;
        }
        #endregion
        #region TAB4BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN9(string textlabel, string imgname)
        {
            this.tab4btn9.Visible = true;
            this.tab4btn9.Text = textlabel;
            this.tab4btn9.Image = getImage(imgname);
            this.tab4btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB4BTN9()
        {
            this.tab4btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB4BTN9()
        {
            this.tab4btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB4BTN9()
        {
            this.tab4btn9.Enabled = false;
        }
        #endregion
        #region TAB5BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN9(string textlabel, string imgname)
        {
            this.tab5btn9.Visible = true;
            this.tab5btn9.Text = textlabel;
            this.tab5btn9.Image = getImage(imgname);
            this.tab5btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB5BTN9()
        {
            this.tab5btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB5BTN9()
        {
            this.tab5btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB5BTN9()
        {
            this.tab5btn9.Enabled = false;
        }
        #endregion
        #region TAB6BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN9(string textlabel, string imgname)
        {
            this.tab6btn9.Visible = true;
            this.tab6btn9.Text = textlabel;
            this.tab6btn9.Image = getImage(imgname);
            this.tab6btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB6BTN9()
        {
            this.tab6btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB6BTN9()
        {
            this.tab6btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB6BTN9()
        {
            this.tab6btn9.Enabled = false;
        }
        #endregion
        #region TAB7BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN9(string textlabel, string imgname)
        {
            this.tab7btn9.Visible = true;
            this.tab7btn9.Text = textlabel;
            this.tab7btn9.Image = getImage(imgname);
            this.tab7btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB7BTN9()
        {
            this.tab7btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB7BTN9()
        {
            this.tab7btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB7BTN9()
        {
            this.tab7btn9.Enabled = false;
        }
        #endregion
        #region TAB8BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN9(string textlabel, string imgname)
        {
            this.tab8btn9.Visible = true;
            this.tab8btn9.Text = textlabel;
            this.tab8btn9.Image = getImage(imgname);
            this.tab8btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB8BTN9()
        {
            this.tab8btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB8BTN9()
        {
            this.tab8btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB8BTN9()
        {
            this.tab8btn9.Enabled = false;
        }
        #endregion
        #region TAB9BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN9(string textlabel, string imgname)
        {
            this.tab9btn9.Visible = true;
            this.tab9btn9.Text = textlabel;
            this.tab9btn9.Image = getImage(imgname);
            this.tab9btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB9BTN9()
        {
            this.tab9btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB9BTN9()
        {
            this.tab9btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB9BTN9()
        {
            this.tab9btn9.Enabled = false;
        }
        #endregion
        #region TAB10BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN9(string textlabel, string imgname)
        {
            this.tab10btn9.Visible = true;
            this.tab10btn9.Text = textlabel;
            this.tab10btn9.Image = getImage(imgname);
            this.tab10btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB10BTN9()
        {
            this.tab10btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB10BTN9()
        {
            this.tab10btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB10BTN9()
        {
            this.tab10btn9.Enabled = false;
        }
        #endregion
        #region TAB11BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN9(string textlabel, string imgname)
        {
            this.tab11btn9.Visible = true;
            this.tab11btn9.Text = textlabel;
            this.tab11btn9.Image = getImage(imgname);
            this.tab11btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn9.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB11BTN9()
        {
            this.tab11btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB11BTN9()
        {
            this.tab11btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB11BTN9()
        {
            this.tab11btn9.Enabled = false;
        }
        #endregion
        #region TAB12BTN9 Define
        /// <summary>
        /// BTN9 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn9_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN9 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN9(string textlabel, string imgname)
        {            
            this.tab12btn9.Visible = true;
            this.tab12btn9.Text = textlabel;
            this.tab12btn9.Image = getImage(imgname);
            this.tab12btn9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn9.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN9 Hide.
        /// </summary>
        public void HideTAB12BTN9()
        {
            this.tab12btn9.Visible = false;
        }
        /// <summary>
        /// BTN9 Enable.
        /// </summary>
        public void EnableTAB12BTN9()
        {
            this.tab12btn9.Enabled = true;
        }
        /// <summary>
        /// BTN9 Disable.
        /// </summary>
        public void DisableTAB12BTN9()
        {
            this.tab12btn9.Enabled = false;
        }
        #endregion


        #region TAB1BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab1btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB1BTN10(string textlabel, string imgname)
        {
            this.tab1btn10.Visible = true;
            this.tab1btn10.Text = textlabel;
            this.tab1btn10.Image = getImage(imgname);
            this.tab1btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab1btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB1BTN10()
        {
            this.tab1btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB1BTN10()
        {
            this.tab1btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB1BTN10()
        {
            this.tab1btn10.Enabled = false;
        }
        #endregion
        #region TAB2BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab2btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB2BTN10(string textlabel, string imgname)
        {
            this.tab2btn10.Visible = true;
            this.tab2btn10.Text = textlabel;
            this.tab2btn10.Image = getImage(imgname);
            this.tab2btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab2btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB2BTN10()
        {
            this.tab2btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB2BTN10()
        {
            this.tab2btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB2BTN10()
        {
            this.tab2btn10.Enabled = false;
        }
        #endregion
        #region TAB3BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab3btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB3BTN10(string textlabel, string imgname)
        {
            this.tab3btn10.Visible = true;
            this.tab3btn10.Text = textlabel;
            this.tab3btn10.Image = getImage(imgname);
            this.tab3btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab3btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB3BTN10()
        {
            this.tab3btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB3BTN10()
        {
            this.tab3btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB3BTN10()
        {
            this.tab3btn10.Enabled = false;
        }
        #endregion
        #region TAB4BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab4btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB4BTN10(string textlabel, string imgname)
        {
            this.tab4btn10.Visible = true;
            this.tab4btn10.Text = textlabel;
            this.tab4btn10.Image = getImage(imgname);
            this.tab4btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab4btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB4BTN10()
        {
            this.tab4btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB4BTN10()
        {
            this.tab4btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB4BTN10()
        {
            this.tab4btn10.Enabled = false;
        }
        #endregion
        #region TAB5BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab5btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB5BTN10(string textlabel, string imgname)
        {
            this.tab5btn10.Visible = true;
            this.tab5btn10.Text = textlabel;
            this.tab5btn10.Image = getImage(imgname);
            this.tab5btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab5btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB5BTN10()
        {
            this.tab5btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB5BTN10()
        {
            this.tab5btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB5BTN10()
        {
            this.tab5btn10.Enabled = false;
        }
        #endregion
        #region TAB6BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab6btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB6BTN10(string textlabel, string imgname)
        {
            this.tab6btn10.Visible = true;
            this.tab6btn10.Text = textlabel;
            this.tab6btn10.Image = getImage(imgname);
            this.tab6btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab6btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB6BTN10()
        {
            this.tab6btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB6BTN10()
        {
            this.tab6btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB6BTN10()
        {
            this.tab6btn10.Enabled = false;
        }
        #endregion
        #region TAB7BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab7btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB7BTN10(string textlabel, string imgname)
        {
            this.tab7btn10.Visible = true;
            this.tab7btn10.Text = textlabel;
            this.tab7btn10.Image = getImage(imgname);
            this.tab7btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab7btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB7BTN10()
        {
            this.tab7btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB7BTN10()
        {
            this.tab7btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB7BTN10()
        {
            this.tab7btn10.Enabled = false;
        }
        #endregion
        #region TAB8BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab8btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB8BTN10(string textlabel, string imgname)
        {
            this.tab8btn10.Visible = true;
            this.tab8btn10.Text = textlabel;
            this.tab8btn10.Image = getImage(imgname);
            this.tab8btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab8btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB8BTN10()
        {
            this.tab8btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB8BTN10()
        {
            this.tab8btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB8BTN10()
        {
            this.tab8btn10.Enabled = false;
        }
        #endregion
        #region TAB9BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab9btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB9BTN10(string textlabel, string imgname)
        {
            this.tab9btn10.Visible = true;
            this.tab9btn10.Text = textlabel;
            this.tab9btn10.Image = getImage(imgname);
            this.tab9btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab9btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB9BTN10()
        {
            this.tab9btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB9BTN10()
        {
            this.tab9btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB9BTN10()
        {
            this.tab9btn10.Enabled = false;
        }
        #endregion
        #region TAB10BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab10btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB10BTN10(string textlabel, string imgname)
        {
            this.tab10btn10.Visible = true;
            this.tab10btn10.Text = textlabel;
            this.tab10btn10.Image = getImage(imgname);
            this.tab10btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab10btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB10BTN10()
        {
            this.tab10btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB10BTN10()
        {
            this.tab10btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB10BTN10()
        {
            this.tab10btn10.Enabled = false;
        }
        #endregion
        #region TAB11BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void tab11btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB11BTN10(string textlabel, string imgname)
        {
            this.tab11btn10.Visible = true;
            this.tab11btn10.Text = textlabel;
            this.tab11btn10.Image = getImage(imgname);
            this.tab11btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab11btn10.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB11BTN10()
        {
            this.tab11btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB11BTN10()
        {
            this.tab11btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB11BTN10()
        {
            this.tab11btn10.Enabled = false;
        }
        #endregion
        #region TAB12BTN10 Define
        /// <summary>
        /// BTN10 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void  tab12btn10_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN10 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowTAB12BTN10(string textlabel, string imgname)
        {            
            this.tab12btn10.Visible = true;
            this.tab12btn10.Text = textlabel;
            this.tab12btn10.Image = getImage(imgname);
            this.tab12btn10.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.tab12btn10.Tooltip = textlabel;
        }        
        /// <summary>
        /// BTN10 Hide.
        /// </summary>
        public void HideTAB12BTN10()
        {
            this.tab12btn10.Visible = false;
        }
        /// <summary>
        /// BTN10 Enable.
        /// </summary>
        public void EnableTAB12BTN10()
        {
            this.tab12btn10.Enabled = true;
        }
        /// <summary>
        /// BTN10 Disable.
        /// </summary>
        public void DisableTAB12BTN10()
        {
            this.tab12btn10.Enabled = false;
        }
        #endregion


        #endregion
        #region Staus bar
        #region BTN LOG OUT Define
        /// <summary>
        /// button Logout Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void btnlogout_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// button Logout Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowBTNLOGOUT(string textlabel, string imgname)
        {
            this.btnLogout.Visible = true;
            this.btnLogout.Text = textlabel;
            this.btnLogout.Image = getImage(imgname);
            this.btnLogout.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.btnLogout.Tooltip = textlabel;
        }
        /// <summary>
        /// button Logout Hide.
        /// </summary>
        public void HideBTNLOGOUT()
        {
            this.btnLogout.Visible = false;
        }
        /// <summary>
        /// button Logout Enable.
        /// </summary>
        public void EnableBTNLOGOUT()
        {
            this.btnLogout.Enabled = true;
        }
        /// <summary>
        /// button Logout Disable.
        /// </summary>
        public void DisableBTNLOGOUT()
        {
            this.btnLogout.Enabled = false;
        }
        #endregion

        #region Label User Name Define
        /// <summary>
        /// Label User Name Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void lblUserName_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// Label User Name Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowLBLUSERNAME(string textlabel, string imgname)
        {
            this.lblUserName.Visible = true;
            this.lblUserName.Text = textlabel;            
            this.lblUserName.Tooltip = textlabel;
        }
        /// <summary>
        /// Label User Name Hide.
        /// </summary>
        public void HideLBLUSERNAME()
        {
            this.lblUserName.Visible = false;
        }
        /// <summary>
        /// Label User Name Enable.
        /// </summary>
        public void EnableLBLUSERNAME()
        {
            this.lblUserName.Enabled = true;
        }
        /// <summary>
        /// Label User Name Disable.
        /// </summary>
        public void DisableLBLUSERNAME()
        {
            this.lblUserName.Enabled = false;
        }
        #endregion


        #region Status Progessbar Define
        /// <summary>
        /// Status Progessbar Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void pgbStatusLoading_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// Status Progessbar Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowPGBSTATUSLOADING(string textlabel, string imgname)
        {
            this.pgbStatusLoading.Visible = true;
            this.pgbStatusLoading.Text = textlabel;
            this.pgbStatusLoading.Tooltip = textlabel;
        }
        /// <summary>
        /// Status Progessbar Hide.
        /// </summary>
        public void HidePGBSTATUSLOADING()
        {
            this.pgbStatusLoading.Visible = false;
        }
        /// <summary>
        /// Status Progessbar Enable.
        /// </summary>
        public void EnablePGBSTATUSLOADING()
        {
            this.pgbStatusLoading.Enabled = true;
        }
        /// <summary>
        /// Status Progessbar Disable.
        /// </summary>
        public void DisablePGBSTATUSLOADING()
        {
            this.pgbStatusLoading.Enabled = false;
        }
        #endregion

        #endregion
        #region Login info
        public string Username
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
        public string FullName
        {
            get { return this.lblUserName.Text; }
            set { this.lblUserName.Text = value; }
        }
        
        #endregion
        public DevComponents.DotNetBar.ProgressBarItem ProgressbarStatus
        {
            get { return this.pgbStatusLoading; }
            set { this.pgbStatusLoading = value; }
        }

        public static Image getImage(string imgname)
        {
            return global::UTLBASEFORM.Properties.Resources.Print21x21;// throw new Exception("The method or operation is not implemented.");
        }

        public void ShowMIDChild(object _mdichild)
        {
            try
            {
                _mdichild = (UTLBASEFORM.MDICHILD)_mdichild;
                
            }
            catch (Exception ex)
            {
                
                throw;
            }
        }
        /// <summary>
        /// Tao mot anh thu cho form
        /// </summary>
        /// <param name="cont"></param>
        /// <returns></returns>
        private Bitmap SaveBitmap(Control cont)
        {            
            Bitmap bm = new Bitmap(cont.Width, cont.Height);
            //render into a bitmap
            cont.DrawToBitmap(bm, new Rectangle(0, 0, cont.Width, cont.Height));
            return bm;
        }

        private void InitializeCtrlTab(bool enable)
        {
            if (enable)
            {
                //set default font for the label of the selected ChildWindow
                lblSelectedChildCaption.Font = new Font(FontFamily.GenericSansSerif, 30);
                lblSelectedChildCaption.AutoSize = false;
                lblSelectedChildCaption.TextAlign = ContentAlignment.MiddleCenter;

                //set the default size of the preview panel,and a pics count in one row...
                switch (SystemInformation.PrimaryMonitorSize.Width)
                {
                    case 800:
                        sizeAdvCtrlTabPanel = new Size(330, 240);
                        intPreviewPicCountInRow = 3;
                        sizeAdvCtrlTabPic = new Size(95, 72);
                        break;
                    case 1024:
                        sizeAdvCtrlTabPanel = new Size(330, 240);
                        intPreviewPicCountInRow = 3;
                        sizeAdvCtrlTabPic = new Size(95, 72);
                        break;
                    case 1280:
                        sizeAdvCtrlTabPanel = new Size(430, 300);
                        sizeAdvCtrlTabPic = new Size(95, 72);
                        intPreviewPicCountInRow = 3;
                        break;
                    case 1440:
                        sizeAdvCtrlTabPanel = new Size(430, 300);
                        sizeAdvCtrlTabPic = new Size(95, 72);
                        intPreviewPicCountInRow = 4;
                        break;
                    case 1600:
                        sizeAdvCtrlTabPanel = new Size(430, 300);
                        sizeAdvCtrlTabPic = new Size(95, 72);
                        intPreviewPicCountInRow = 4;
                        break;
                    case 1680:
                        sizeAdvCtrlTabPanel = new Size(430, 300);
                        sizeAdvCtrlTabPic = new Size(95, 72);
                        intPreviewPicCountInRow = 4;
                        break;
                    default:
                        break;
                }
                //set the size...
                pnlAdvancedCtrlTab.Size = sizeAdvCtrlTabPanel;
                lblSelectedChildCaption.Size = new Size(sizeAdvCtrlTabPanel.Width, 50);
                //...and the background color
                lblSelectedChildCaption.BackColor = SystemColors.ControlDark;
            }
        }

        private void MDIPARENT_KeyUp(object sender, KeyEventArgs e)
        {
            if (ModifierKeys != Keys.Control)
            {
                if (intFocusedPicID == -1)
                {
                    return;
                }
                //if the user release the control key we activate the selected Form

                if (this.MdiChildren[intFocusedPicID].WindowState == FormWindowState.Minimized)
                {
                    this.MdiChildren[intFocusedPicID].WindowState = FormWindowState.Normal;
                }
                this.MdiChildren[intFocusedPicID].Activate();

                //remove the panel and the label from MDIForm controls
                this.Controls.Remove(pnlAdvancedCtrlTab);
                this.Controls.Remove(lblSelectedChildCaption);
                intFocusedPicID = -1;
            }
        }

        private void MdiClient_MouseWheel(object sender, MouseEventArgs e)
        {
            if (this.MdiChildren.Length > 0)
            {
                //if there is any ChildForm
                if (ModifierKeys == Keys.Control)
                {
                    //control key is down
                    if (!this.Contains(pnlAdvancedCtrlTab))
                    {
                        //if this is the first time, than mouse wheel scroll
                        //so we need the initialize the panel

                        //clear all PictureBox
                        pnlAdvancedCtrlTab.Controls.Clear();

                        //set the position of the pnl
                        //it set to be the center of the MDI form
                        pnlAdvancedCtrlTab.Location = new Point((int)(this.Width / 2) - (int)(pnlAdvancedCtrlTab.Width / 2), (int)(this.Height / 2) - (int)(pnlAdvancedCtrlTab.Height / 2));

                        //the position of the label
                        lblSelectedChildCaption.Location = new Point(pnlAdvancedCtrlTab.Location.X, pnlAdvancedCtrlTab.Location.Y - 50);

                        //style...
                        pnlAdvancedCtrlTab.BorderStyle = BorderStyle.Fixed3D;
                        //if the autosroll property is true and we have lot of opened childwindow, 
                        //the vertical scrollbar automatically appear
                        pnlAdvancedCtrlTab.AutoScroll = true;

                        //the x-y "index"
                        int i = 0;
                        int j = 0;
                        foreach (Form act in this.MdiChildren)
                        {
                            if (i == intPreviewPicCountInRow)
                            {
                                //if we need to change row...
                                i = 0;
                                j++;
                            }

                            //the new picture box
                            PictureBox pc = new PictureBox();
                            //set its size and location
                            pc.Location = new Point(20 + i * (sizeAdvCtrlTabPic.Width + 5), 20 + j * (sizeAdvCtrlTabPic.Height + 10));
                            pc.Size = sizeAdvCtrlTabPic;
                            //add it to the panel controls collection
                            pnlAdvancedCtrlTab.Controls.Add(pc);

                            //set the image and image size
                            pc.Image = SaveBitmap(act);
                            pc.SizeMode = PictureBoxSizeMode.Zoom;
                            i++;

                            if (act.Focused)
                            {
                                //if it is the foucused ChildWindow set its border to 3d
                                pc.BorderStyle = BorderStyle.Fixed3D;
                                intFocusedPicID = pnlAdvancedCtrlTab.Controls.Count - 1;
                                //set the label to the ChildForm caption
                                lblSelectedChildCaption.Text = act.Text;
                            }
                        }

                        if (intFocusedPicID == -1)
                        {
                            //if there isnt any focused child... we set the first selected
                            intFocusedPicID = 0;
                            (pnlAdvancedCtrlTab.Controls[0] as PictureBox).BorderStyle = BorderStyle.Fixed3D;
                        }
                        //add the panel and the textbox to to controls collection of the MDIForm
                        this.Controls.Add(pnlAdvancedCtrlTab);
                        this.Controls.Add(lblSelectedChildCaption);
                    }
                    else
                    {
                        //if it isnt the first mouse scroll

                        //set the actual picBox border to default
                        (pnlAdvancedCtrlTab.Controls[intFocusedPicID] as PictureBox).BorderStyle = BorderStyle.None;

                        //increment,or decrement the selection
                        if (e.Delta > 0)
                        {
                            intFocusedPicID++;
                            if (intFocusedPicID == pnlAdvancedCtrlTab.Controls.Count)
                            {
                                intFocusedPicID = 0;
                            }

                        }
                        else if (e.Delta < 0)
                        {
                            intFocusedPicID--;
                            if (intFocusedPicID == -1)
                            {
                                intFocusedPicID = pnlAdvancedCtrlTab.Controls.Count - 1;
                            }
                        }
                        //set the new picBox selected
                        (pnlAdvancedCtrlTab.Controls[intFocusedPicID] as PictureBox).BorderStyle = BorderStyle.Fixed3D;
                        lblSelectedChildCaption.Text = this.MdiChildren[intFocusedPicID].Text;
                    }
                }
            }

        }

        
    }
}